Optimal. Leaf size=74 \[ -\frac{2 \sin (a+b x) \cos (a+b x) \sqrt{c \cos ^m(a+b x)} \, _2F_1\left (\frac{1}{2},\frac{m+2}{4};\frac{m+6}{4};\cos ^2(a+b x)\right )}{b (m+2) \sqrt{\sin ^2(a+b x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0392015, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3208, 2643} \[ -\frac{2 \sin (a+b x) \cos (a+b x) \sqrt{c \cos ^m(a+b x)} \, _2F_1\left (\frac{1}{2},\frac{m+2}{4};\frac{m+6}{4};\cos ^2(a+b x)\right )}{b (m+2) \sqrt{\sin ^2(a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3208
Rule 2643
Rubi steps
\begin{align*} \int \sqrt{c \cos ^m(a+b x)} \, dx &=\left (\cos ^{-\frac{m}{2}}(a+b x) \sqrt{c \cos ^m(a+b x)}\right ) \int \cos ^{\frac{m}{2}}(a+b x) \, dx\\ &=-\frac{2 \cos (a+b x) \sqrt{c \cos ^m(a+b x)} \, _2F_1\left (\frac{1}{2},\frac{2+m}{4};\frac{6+m}{4};\cos ^2(a+b x)\right ) \sin (a+b x)}{b (2+m) \sqrt{\sin ^2(a+b x)}}\\ \end{align*}
Mathematica [A] time = 0.0704345, size = 68, normalized size = 0.92 \[ -\frac{2 \sqrt{\sin ^2(a+b x)} \cot (a+b x) \sqrt{c \cos ^m(a+b x)} \, _2F_1\left (\frac{1}{2},\frac{m+2}{4};\frac{m+6}{4};\cos ^2(a+b x)\right )}{b (m+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.239, size = 0, normalized size = 0. \begin{align*} \int \sqrt{c \left ( \cos \left ( bx+a \right ) \right ) ^{m}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c \cos \left (b x + a\right )^{m}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c \cos ^{m}{\left (a + b x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{c \cos \left (b x + a\right )^{m}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]